//
//  Home_ThirdController.swift
//  jingxin
//
//  Created by Yuki on 2020/8/5.
//  Copyright © 2020 Zl. All rights reserved.
//

import UIKit

class Home_ThirdController: BaseController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.isHiddenNavBar = true;
        
        print("积为：\(exec(v1: 10, v2: 20, fn: *))");
        
    }
     

    
    /// 定义闭包函数
    /// - Parameters:
    ///   - v1: 参数1
    ///   - v2: 参数2
    ///   - fn: 需要传入的函数
    func exec(v1:Int,v2:Int,fn:(Int,Int)->Int) ->Int {
        return fn(v1,v2);
    }
    
    func exec2(v1:Int, v2:Int){
        
    }
}
